This collection contains Category objects that represent the detected categories for the search results. Use Categories property of the Tab object to access this collection.
The following example enumerates the categories of the active tab, writing them to file "c:\output.txt".
Set FSO = CreateObject("Scripting.FileSystemObject") Set Output = FSO.CreateTextFile("c:\output.txt", True) For Each Category in App.ActiveTab.Categories Output.WriteLine Category.Name & " - " & Category.Count Next